package cn.edu.bjtu.toychange.service.impl;

import java.util.ArrayList;

import cn.edu.bjtu.toychange.dao.TransRecordDao;
import cn.edu.bjtu.toychange.entity.TransRecord;
import cn.edu.bjtu.toychange.service.TransRecordListService;

public class TransRecordListServiceImpl implements TransRecordListService{
	private TransRecordDao transRecordDao;
	
	public TransRecordListServiceImpl() {
		transRecordDao = new TransRecordDao();
	}
	
	@Override
	public ArrayList<TransRecord> getUserTransactionRecords(int userID) {
		// TODO Auto-generated method stub
		
		return transRecordDao.getUserTransactionRecords(userID);
	}

}
